Add spec for Fluentd::Agent::LocalCommon#pid
Fix bug: pid become zero when pid file is empty