Fixing tests of get/set with errors.