(maint) Fix Reports/ Tests for PE

Prior to this commit, the reports tests were not working. This commit
fixes that. A lot of the issues were operating system configuration
problems rather than ruby test code problems.