Increasing test coverage and fixing bugs found while writing tests

I'm not sure if the comment is wrong here, but this is going to make an array with 2 columns and the same number of rows as were in `y` to begin with.  I think you want `vstack` if you want to make the number of rows incorrect.