added dictionary test case