- fix bug in useragent (bad variable name)
- make tests run correctly to catch future jar issues fixed above.