Fixed variable warning
fixed small errors that arose in singleProcessTest