add test class for date time