I started looking around.
It seems that I can annotate my test with ServerSetup which provides a ManagementClient reference by implementing the task.
ManagementClient seems useful, but I'm not sure if I can actually use it to undeploy something. Maybe I can use an mbean reference?
ManagementClient.getControllerClient() gives you the ModelControllerClient, which lets you perform any management op.