refactoring fixes missing tests