minor code cleanup according to test coverage of "emptiness", "sameness", and "equality" type detection modules.