Fixed test suite bugs by requiring functionality in the rails helper.