add browser test code