Thre is a special macro for the tests which should fail. Please read the docs. There is also an exmaple in existent tests.