Hardened test data script + now testing sort order
Lengthened the delay in the template tests

Should ultimately be replaced with a synchronous ping solution that can actually wait until all templates have been parsed before checking if it all worked