Add information for interval specification.
Allow custom reference dates and fix interval calculation.
Add tests for the interval module.
Remove empty tests for the config module.