Fixes #8483 by correcting the auto completion on windows added some test cases + fixed an error that were discovered when doing `using B<tab>` before Pkg.init().