Make it easier to test SAM-2 client code