[managed] useragent test ignores minor version

Since minor version is changed during build, keep the check only on
major version which changes less frequently