Fixed bug in test re: File.new -> File.open