adding support for multiple browsers
fixing test