Improve gem specifications

Use a standard SPDX ID for license name.
Make dependencies more permissive.
Implement first tests