Add tests for apps