Fix bad error message for parsing error handling in utils.parse_interval
Add a test for DiamondashConfig.from_dir