Add tests for time and interval parsing/formatting