update test with cleanupLog
update ReposeValveTest to fix truncate log issue