cleaned up the check_update test