Fix xfail handling

Fixed #10