initialized npm, added unit tests