added karma and a simple spec file