embunit: allow custom action on assertion error

Moved to line 47