Squashed the commits
Failing test for toArray withColumn

Resolving bug toArray withColumn

Corrected indentation