wrote some tests for the follow dialog anchor feature