added tests for application helper