testAllWhenPassed syntax error fixed.