add test for getAnchoredMids()