fixing incorrect test for use pid file setting