add tests for loading app