Made test purge table command use truncate while foreign key checks are turned off