finished ruby test