Fix py3k; add unit test around list of home nodes