ruby gc test code