Support for SELECT ALL/SELECT DISTINCT
Unit tests