added more tests for snr function