cleaned up tests for binary search