The original image is a combination of masks of different colors. It makes sense to decompose it to different masks, but why recreate the exact original image?
Anyway, if you really need it, it should be something like (not tested):
test_img=np.where(new_img[:,:,3],[255,0,0],[0,0,0])
+np.where(new_img[:,:,4],[255,255,255],[0,0,0])
+np.where(new_img[:,:,3],[0,255,0],[0,0,0])
This method would set the pixels defined by the third (white) mask to white.