Select expression tests and modifications