Add tests for getRelatives.