added test for Parent() and GetAll() for HasKey struct