Updated tests

Including tests for formatted output. Updated readme.