In order to test whether Librarian works as expected, we need to test two things:
- Check if /api/index accepts index terms.
- Check if /api/query returns the correct results and in the expected order.
We can test point 1 with the help of a separate program/script, feeder.go, and point 2 with simple cURL commands.