test_search.py: passing attachment methods