cleanup
karma working, with coverage. added some simple tests