Fix tests for Ruby 1.9.3 from 3e13bf3

Changes in 3e13bf3 broke tests for Ruby 1.9.3 which doesn't support
Enumerable on Strings. Workaround this by casting everything as an array and
flattening to prevent existing arrays from being encapsulated.
Merge pull request #109 from dcarley/fix_tests_ruby_193

Fix tests for Ruby 1.9.3 from 3e13bf3