Fixing tests
Merge pull request #602 from lossyrob/asArray

Fixing tests for asArray change