added test case for DbFunctions.TruncateTime fix