Fixed test to compare datetime to datetime