Period + tests
Finished the period tests and implementation."