fix test when APCU used