cperl-mode tests and license change.

License changed to GPL and added 3 test scenarios.