Added tests for broken << operator.
First try to fix broken << operator.  Some tests still fail in sqlite, but fixes appear to work
when manually tested in PostgreSQL.  Checking in so I can clone on a CentOS box where PostgreSQL
tests can be run.