Add basic tests for the Pages class