More tests for recursive riemann sum function.