msi: Add some test cases for "SELECT ... WHERE condition".