incrementally commits and related tests