Applied changes of @onovotny to add support for XUnit2 . Fixes #136