Make make.js fail with error code when any test fails.

This commit will break the build.
Closes GH-886.