added Setup and teardown method to testbase