Fix tests for new reference number visible;e only after clicking on link