Add a very simple test suite

@latentflip you can also set up travis to run your tests, I've added a build status image for this.

I'm hoping to update the functionality to allow me to set the 'debug' key, as I'm using @3rdEden's `primus` and there's clashes with the `debug` module.