Fixes GH-498

Fixed a bug where tests won't run if a dataProvider throws an Exception and a group is specified.