test fail pattern