Fixing tests. This should still support rails 4, but I'm locking the tests at 3.2.15 for now so they pass.