Added bin/test.js and made running tests less painful.

See the changes to README.md for more information about how tests are run
now.