Add random seeds to tests per #1044

Shouldn't this be moved 2 lines above? There is already a call to np.random?