Add pgTAP test for medium position updating as done by merges.