test for combination logic