Added Rspec tests for combine_arrays