Add docs how to run tests locally
Fix functional tests on travis