Tested the returning of a dictionary by calling read-in-dictionary