Updated the failure comparison operator to use the dict comparison.