Added encoder for tests.
All tests passing. Very simple reports are being generated.