Fix denoise tests
Merge pull request #1095 from ahojnnes/denoise-tests

Fix denoise tests