An attempt at writing unit tests for the Page class