Docstring tweaks
Improve key naming code

This change will check for `URI` and `URL` in the key name before trying to remove each rather than catching `ValueError` when one doesn't exist.
Add test to make sure default is a correct possibility

In addition to checking that the `default` key is found in the dictionary of databases, this will make sure that `default` is one of the values contained in the environment settings.