Add support for deploying factory-test.