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.
I think it shouldn't be noted that `T` is the type of the variates produces by `rng`.