add a regression test for array types; fix two fmt errors.
add a regression test for array types; fix two fmt errors.

Gorilla/schema,elimisteve/schema,gorilla/schema,h12w/schema,ilgooz/schema,rzajac/schema