Add a unit test to verify span attaching works.