Remove unused requires
Add tests for Perl