Add initial tests for check_sanity module