testing output from puts