Fix TestHandleAppProcs