Test that compiler honors schema in generated SQL.

See #52.