Added examples/tests for select operation