Add tests on doc searching and keyword suggestions

Signed-off-by: Jerome Flesch <jflesch@gmail.com>