add checkUrlSafety tests (mocha)