Fixing tests for asArray change