updating spec test for true/false matching