Added XAssert class with some custom assertions