Fix broken unit test
Add support for protocol chrome-extension: