facade: adding userAgent tests and fix