changed PrintProgTest to be less restrictive