Use mock for testing url opening