Changed test file from index to test.
Added database restore.
Set variables for MySQL.
Renamed variables.