date_test: improved test