refactoring, extract BaseTest for all tests