fixed error when trying to randomize no tests