make functional_tests into app, use LiveServerTestCase