Move functional tests to a functional_tests app