tests and better TimePeriods
updates readme
Merge pull request #8 from haaksmash/feature/better_time_periods

better TimePeriods