Improve coverage of docker_registry.lib.layers module.

I've removed it.