Created spec_helper.rb

Moved the setup code for each spec into a shared spec helper, which can be
required at the top of each spec