made stats printout a bit nicer
added test reports
fixes and documentation