moved rspec helper code into .rspec file.