increase test coverage for application_helper and application_controller