Use the checkURL func and remove magic

Use the checkURL func and amend settings for tests + add a flow test.
maybe log a message saying the URL is invalid and what the valid sites are?