Added testing system. Improved reporting.