swap ob_clean() call with a propper ob_end_clean() call
this aims to solve risk tests with message "tested code did not (only) close its own output buffers"