adding test suite for 'distinct' functionality