adapted date tests to the new implementation