Fix some ruby tests