detect fail test