added tests for g.bisect()