fixed test case in the browser