Update client_info test: test_read_valid_writeback

Made the test_read_valid_writeback more robust by adding a couple of
different modify/write sequences and verifying that the written config
file is consistent with the state of client_info in memory.