add mendeley search functionality with tests