Removed duplicated setup code in tests and placed it in spec_helper.rb.