Fix missing test library (for search_paths_test) and simplify with ExpectEq.