add specs for applications_helper