IW: Start testing

Minimal karma testing integration. 
When would this not be undefined?