Refactor move test/test/models/BaseModelTest to test/BaseTest and use it with other tests