Added threshold to report. Added test stubs.