Fixed bug in test. Was not setting the version properly and thus was failing based on the random number generator.