dict iteration test