unit tests indent refactoring