made format abstract and added default_format as concrete counter part
added unit test for format
refactored unit tests
Merge pull request #6 from steinwurf/make-format-abstract

refactored unit tests a bit.