@helge Testing an actor seems to be very straightforward. Just validate the JSON document against the schema.
Serving actor documents, sending and receiving activities, signing requests and resolving webfinger - these tasks are performed by servers and clients. They can be tested too.
It might look more complicated if we embrace the view that requests are made by actors (as in actor model?). But I believe this view is wrong, despite being promoted by ActivityPub specification.