Add test for ParseDuration