move main_app in the test directory