Add test for crash on select empty string