Generalise test server by explicitly setting files to serve
Generalise template.html to allow any dependency files
Serve dependencies based on server arguments
Use globs to find test files
Run tests from grunt