Functions used to register test messages should have proper names.
All test results are stored in its own data structure that would be used for exporting results into various formats.
Changed API for writers.
Added support for test result writers.
Fixed typo.