Unit test refactoring - extract temp notebook functionality.
Adding DailyPagesTest, and fixing a bug it found.