fix loading of multiple vertical pes.

also updates tests.
Merge pull request #598 from opf/fix/vertical_pe_loading_multiple

fix loading of multiple vertical pes.