Added test for dict parameter