sync writes for accurate tests

closes #3