modified test
fixed add_noise