bail from tests if one fails
Make things more CommonJS like