Split deploy and test execution in deploy target