Added tests for the dictionary