bugfix md
tests for timed periods