Use the checkURL func and remove magic

Use the checkURL func and amend settings for tests + add a flow test.
good idea adding a single integration test in addition to the unit tests