PY3 + TST decouple test_metrics from random module

Random number generator changes per Python 3.3.
Also, don't use unseeded np.random. Should fix #1811.