Fixed major bug in test. Turns out that if we use CSV.read(foo.csv.aes) CSV parses the string to an array which then breaks things. Should use File.read(foo.csv.aes) instead.