Fix bug in Makefile

Ensure that NPM modules are available before attempting to run the
tests.