Added more tests

Added tests for `AppRepository` and `MarathonStore`.