Move recurring tests for ajax pages to test base class