Updated Ruby and Rails tests to more recent versions