Issue #58: renamed length to duration in tests