implemented browser, browser tests and mock browser