Refactor std tests to use np.random.randn