Added unit test for rollRepository::getRandom