add spec for application.