make sure test does not use empty string in search