Adding getBrowserInfo method and test, cleanup