Bug fix: in the tests createXUrl should take a Throwable, not a classOf[Throwable]