fix problem with real harddisk and add testmode.