Add test_helper.rb file and udpate tests to use it