tests (constants.js): add tests for constants

Closes #245
Merge pull request #246 from ozone-development/issue-245-constants-unit-tests

tests (constants.js): add tests for constants