add check for attachment content to integration test