TST correct logic for noncanonical sparse tests