test dict error