Additional test coverage for dict key completion