add parameter in spec and fix puppetlint error in unittest