You have a trailing comma at the end of the line, so you are getting the result of {}.get('test1',{}).get('test2','hrmm')
in a one-element tuple.
Here is an example of how this works with a simple literal:
>>> box = 1,
>>> box
(1,)
>>> type(box)
<type 'tuple'>