refactoring functional test with LiveServerTestCase