Improve wrapped dictionaries test case