Use get() to avoid KeyError in tests.