added testing code, updated process manager