[feature/functional-tests] Fix travis APC errors