test for browser detach