Fix sample test of inserting/deleting image to mongo