add duration tests