add tests for application helper