Refactored modern browser integration test