Move test file into tests directory