The easiest way would be to create a folder off of the root of your site for testing. That way things can be tested in the same environment as the real site. When you are through testing, you just delete the entire folder.
If you are worried about Google finding the test folder, you can add a robot.txt file or password protect it. I usually just put a Test Site Only message on it in case someone wonders in.