remove all the karma stuff, add node-unit tests, fix broken tests, e2e testing comes next