updated test-datetime script