fix test to allow version numbers like 1.2.0-Beta01