Added some ruby test code