Rails tests/other changes