Add some app tests for query saving.