Parse a `Duration` from a string. Add some more tests.