[#13] correct tests event and add test for search