Fixing tests and renaming package so can publish to npm