test dict access