Include shift log entries in the tests
Added a docstring
Added a bunch of testing for page permissions