Fix version number check to deal with non-numbers
Add test, update file header license