extended functional test from WebTestCase