Edited Test.php to handle GET variable

Now gets date and route information from GET array
Added safeguards

Mainly checking for unset values, but also sanitizing $_GET values.