Add test for condition