Add integration test for attributes sent to search index