Added test for search and logout. test coverage 100% now