Adds unit testing to main()
Adds report