Javadoc for the report package

And add two tests.

Not very satisfied about it all, to be really honest. Still, it does the job...