Improve coverage of docker_registry.lib.layers
Merge pull request #462 from Aigeruth/enhancement/coverage

Improve coverage of docker_registry.lib.layers module.