IW: Start testing

Minimal karma testing integration. 
Maybe this answers my question about exporting the subclasses, if you need them for testing.