updated tests for application_helper