add self dependency test