Added tests for bisection