Create condition in test