integrated bug fix for the ptest call