Added tests for Dictionary class.