Refactoring Application Path with Tests