improves tests for search by title functionality
merges search work