fixed race condition in time period test
Merge pull request #91 from autermann/fix/race-condition-in-time-test

Fixed race condition in time period test