Fix test failures on 1.9.2 caused by upgrading to RSpec 3