Fix errors by Test::Perl::Critic.