Completed tests and functionality for browser utils.