dot-add_sanity_check function

Adds a sanity check to the list of already performed sanity checks