#19 AbstractQuery unit tests of distinct keyword.