tests: Fix failing test_flushing_changes_to_shadow

This test was failing on Jenkins slaves because the generated changelog
was too small to make write() to a socket block. The issue is fixed in
this commit by making more changes to generate a bigger changelog.

Change-Id: I0e1c78cd4d97f05738e54d2bfe7b3f87df425d2f