Fixed the typo of the Dictionary function in the testing code.