Improve coverage of docker_registry.lib.layers module.

Not sure we want the extra dependency, just to be able to replace `assert X == Y` with `X.should.equal(Y)`