MDL-45846 Libraries custom user agent device detection unit test added