Improve test coverage for Head JS Constants view helper.