Added subdirectory app and failing test
Implemented compatibility with apps in subdirectories