* Allow duration to be passed as duration strings * Remove whitespace * Add changelog fragment * Fix broken test * Better error handling