test for periodic commit