Updated subject to allow for shuffle testing. It uses dup and that didn't work well with the previous stubbing subject.
Changed :array to :collection
Added tests for next_prime as it is critical for shuffling and sampling.
Added tests for _fetch mapping indexes and guarding against invalid indexes.