Oh, good catch. I should remove the `if` here then. B/c all keys in `expected` should be in `res`.