Fix assert.is_dict

assert.is_dict does not work.