This is probably not how you want to test for versions.
Have a look at https://github.com/JustinTulloss/zeromq.node/blob/master/test/test.exports.js
These constants are already being tested for.