fix Rails integration tests (some of them haven't been run for a long time) and add test for page_update population.