add Perl::Critic configuration file and test using it