Add test for noisy function.