adds tests for report module
test title generation and fix bug found