Added tests for Page.js