Changes to test and Random method params