Patch the ua_dict

This dramatically cleaned the tests. The tests also conform more to the api and don't test the ua_parser library