Fix implementation of siblings.
Add test case for name qualifier.