how tests slow down refactoring sample