Added "select" operator and unit tests