fixed date bug in errortest