Fix comparison tests when both default values are None.