add test for loadURL