Test query fixes for TPCH DATE values