issue #1 - added test for formatted output (not nessesery but just example)