Refactored the facet_checked and adding more tests. (DHH-537)
Tweak the test.(DHH-537)