[BrowserTest] update references test for modern RSpec syntax

simple update to a nice test

Change-Id: Iad00e779295ccc610d20241693a87b76b817fbd6