added browser test runner and updated tests to accomodate globals as well
added browser test runner and updated tests to accomodate globals as well