Added Application class tests