Fixed tests and bumped package version for npm