tests for dictionary enumeration (passing) and array enumeration (failing) along w/ code to fix a bunch of dynamic member lookup