Test browser detection