Hey Luke,
This API is being used by Dynamo for the ast node generation for CBN. As such it doesnt have any particular test cases for itself, but it is being checked through the creation of Dynamo Code Block Nodes.