emit error on test failure
Merge remote-tracking branch 'upstream/master'

Conflicts:
	index.js