How to run functional test in local.