Add tests for CSP reporter middleware
Change how the CSP reporter works