pyldb: add unit test for get(myattribute, defVal)