Fix runtime errors in PLN tests and add instructions