Add basic trust and legacy client integration tests