Changing the test to use  expect().to syntax.