add spec of constants.js
add todo comment
Merge pull request #29 from haushinka2dx/constants-spec

add spec of constants.js