Fix functional tests (cli-tests/testing-app)