add test to fix on correct log searching