Move test_random.f90 to the tests directory