Add unit test for Select expressions

Depends on #154