Fixed/improved regression tests after last change (4a7ca56).
`bash-completion-run-integration-tests' are still broken though.