add basic tests for version related functions
add basic tests for version related functions

* copied from libsodium test suite

johnttan/libnacl,saltstack/libnacl,coinkite/libnacl,cachedout/libnacl,mindw/libnacl,RaetProtocol/libnacl