Tests: improve tests 1-2
Core: check module syntax; replace 'library' with 'module'

Modules, submodules, and packages must be named according
to the following guidelines:

- Begin with a letter;
- Have at least two characters;
- Have only letters, numbers or hyphens;
- Letters must be in the lowercase format;
- End with numbers OR letters.