New test.
Fixed #58.
Fixed Distinct/OrderBy issue for DB2 z/OS.