Fixed rspec tests after integrate