Fixing broken tests and writing new tests to check random array and random dice result functions