Initial ToSql visitor tests.