Added test for deploying the same .ima [IMMUTANT-412]