duration-related fixes and tests
bump version; changelog
Added tag 0.005 for changeset f14cd34ca931