Added tests for applications