test responsabilities refactoring