fix tests in deploy_helper