added user/application relation with test in application_spec