Squashed the commits
Failing test for toArray withColumn

Resolving bug toArray withColumn

Corrected indentation
Merge pull request #405 from geryjuhasz/toArraywithColumn

forward port "To arraywith column bug fix"