added tests for when searched term is empty