Fix 316 and also make the update_popover()
tests more exhaustive
#263
+27
−25
update_popover()
tests more exhaustive
#263