Add tests for application helpers