IW: Start testing

Minimal karma testing integration. 
Saw that later... testing the factory seems worth it since it is a bit fickle (factory matches on strings).