Added applications controller test