@Override
    public Path mkdir(final Path folder, final TransferStatus status) throws BackgroundException {
        if(containerService.isContainer(folder)) {
            return super.mkdir(folder, status);
        }
        else {
            status.setChecksum(writer.checksum(folder, status).compute(new NullInputStream(0L), status));
            return super.mkdir(folder, status);
        }
    }
@Test
    public void testCreateBucket() throws Exception {
        final SpectraDirectoryFeature feature = new SpectraDirectoryFeature(session, new SpectraWriteFeature(session));
        final Path test = new Path(new DefaultHomeFinderService(session).find(), new AlphanumericRandomStringService().random(), EnumSet.of(Path.Type.directory, Path.Type.volume));
        feature.mkdir(test, new TransferStatus());
        assertTrue(new SpectraFindFeature(session).find(test));
        new SpectraDeleteFeature(session).delete(Collections.singletonList(test), new DisabledLoginCallback(), new Delete.DisabledCallback());
    }