Fix condition test

The usage of conditions in this test is wrong and prone to error.

I will talk to you guys about it in private, I'd like to suggest some changes ...