added testing framework for the browser