fix broken test

test needed to be updated to be aware that obj must have a name