move functional_tests.py to functional_tests app, use LiveServerTestCase for test cases rather than unittest