More verbose error message for the addNoiseSNR test
(#526)
Add checks that dtype is not provided if image is provided
(#526)