preparing tests for rspec environment