Refs #6313 Adding test case showing the bug (it creates a new visit but we want this visit to be re-used)