Fix simulation of dump database task