updated with tests in npm, added engine version