tests: update test_toolcontext

Signed-off-by: Jean Privat <jean@pryen.org>
bash_completion: add a magic script that do the bash_completion setup

Signed-off-by: Jean Privat <jean@pryen.org>