Added Karma stuff.

First e2e test passing.