added a ruby test script and found a small bug.  Still has a few repeats
added a ruby test script and found a small bug.  Still has a few repeats