[FIX,TEST] fix test
[TEST] remove test to show numerically compatibility

- remove test to show numerically compatibility between the
  SignalToNoiseEstimatorMedian and rapid version
- the test took too long to execute, did not contribute significantly to
  unit testing
[INTERNAL] move code to cpp file