generate ruby tests