Add unit test for detecting transcluded categories