fixed bug with the reporting initialization
a small example
added more tests, fixed a problem with the cmdb