test deploy method