Import the Select By Attributes script. Test it, add a test case. Fixes