Here's the rest of the karma plugin, and a pile of tests for it.