ruby test home work