tests can now be run via npm