cleanup of linesearch tests (fix the build)

When I merged Razvan's PR this morning, it turned out to break some tests that had been added since travis last ran on his branch. So I fixed those.