Adding tests for select