Moved helpers to test_helper.rb.