added basic tests for dotdict