added ruby tests