Description: new test for summary feature
--- /dev/null
+++ b/t/summary.t
@@ -0,0 +1,24 @@
+#!perl
+use strict;
+use warnings;
+
+use Test::More tests => 6;
+
+# try LGP2 license
+
+my $class = 'Software::LicenseUtils';
+require_ok($class);
+
+{
+my $license = $class->new_from_short_name({
+    short_name => 'LGPL-2',
+    holder => 'X. Ample'
+});
+
+is($license->holder, 'X. Ample', '(c) holder');
+isa_ok($license,'Software::License::LGPL_2',"license class");
+like($license->summary, qr/common-licenses/i, 'common-licenses found');
+like($license->name, qr/version 2/i, "license name");
+like($license->fulltext, qr/library/i, 'license text');
+
+}
