PE-838: update rspec syntax to kill deprecation warnings

This changes rspec's
  expect { }.should
constructs, to:
  expect { }.to
to avoid deprecation warnings.