Closed resources in TestAvroRDFGenerator