If there are already some tests covered the UserAgent in content layer, please ignore my previous comments.