Detect test not valid