[tests] Added tests for Application.