add tests for exponentially decaying sample