#36: Tests moved and adapted for lionengine-core, by using mocks,
covering more than 91% of this module. FactoryMedia added to handle
properly the media.