updated test for browser