fix tests so they can handle beta version number.