added several tests for search