Added tests and code for some edge cases while searching