add spec for application controller