fix configdrive write tests