refactor unit tests to extend BaseTest