Add docstrings and don't rely on settings to tests urls.