testing prod deployment flow using hooks