fixed unit tests on time period repositories