Add integration test in spec_helper.rb