Added tests for Application