Fix rails new tests

More test failures fixed for rails specs build.