Move tests out to separate sections; add transpose([]) test