fix a bug in documentation_server.py preventing the search page to be working
add unit test coverage in the documentation