Add Rails 3.2 analytics tests
Fixed some more Ruby unit test failures