Assignment on Testing Ruby program