added functional_tests using headless UI