TO_SQUASH_IT implement handling of blocked functions + fix tests