Added some LicenseValidator tests

I would feel better to have this covered by tests.