Add browsertests for statement ranks

Bug 67363
See the comment with https://github.com/rspec/rspec-expectations#predicate-matchers