add deploy helper method to tests