add facility to test AbstractRNG's

This should make it easier to test rngs which have the `AbstractRNG` interface. 
I'm really not good at choosing names, so I will change them on request.