add distinct command + test

Hi, distinct command + test without any yaml changes this time.
I think I rebased this correctly with your repo.
Cheers,
Paul.