chore: fix the unit tests

After extracting this plugin from Karma, these tests never run. They depend on Karma's internals and so it's kind of hawkish. This whole plugin needs to be cleaned up anyway. I will do it, one day. I promise.
chore: add travis config