Fix date type in test system