Fixes an error of Connection::getInconsistencies & removes global from test codes (prevent false-positive)