modified all pages and added tests for titles