Update test to remove debuglog file

Otherwise this is leaving a debuglog file whenever the
test is run.