Add test for not removing the annotations from deviceMeta when storing in mongo