added karma test to package