Added browser testing capability
Fixed intermittantly failing test