Use custom asserts for version string test

Also validate against actual node version string, as it is runtime dependent