added support for failure tests