insert and search is working with test cases.