Fix programmatic typo in tests

The wrong Grunt task was executed which lead to not testing if ‘rebuild’ fails if there is no binding.gyp.
Stop execution on rebuild if one command fails

Before, the callback was called with an error but execution continued on.