Fix bug in Makefile

Ensure that NPM modules are available before attempting to run the
tests.
Merge pull request #1 from jugglinmike/fix-makefile-bug

Fix bug in Makefile