updated test file with content and added new_line and sum variables to .rb file