fix browser inconsistencies in tests