Simplify each BasicTests test.
Simplify each BasicTests test.

This extracts the common part of each method into the class constructor and Dispose methods.

AArnott/nuproj,kovalikp/nuproj,oliver-feng/nuproj,DavidAnson/nuproj,ericstj/nuproj,faustoscardovi/nuproj,NN---/nuproj,zbrad/nuproj,DavidAnson/nuproj,nuproj/nuproj,PedroLamas/nuproj