Add tests for AppData service