Testing file creation and output process in Ruby!