**What would you like to be added**: Create a test to verify the sdk behaviour in the browser. **Why is this needed**: Nowadays the only way we have to verify that the sdk is working in the browser is to test it by hand. See `/examples/browser` Would be nice to have tests to verify the skd behaviour in the browser.