Add some more tests

There were lots of files without any tests at all. I've tried to update the test suite in general, and added some grunt tasks to help speed up the process.