Update version number test to be more robust