Make functional_test an app, use LiveServerTestCase.