make a BaseTest class and derive all classes from it

makeTemp() was moved into BaseTest to be shared to future unit tests