tests: Ensure synchronization of shadow master servers

Use 'lizardfs_shadow_synchronized' in tests which test a failover of the
master server to ensure that shadow master is synchronized each time
before killing the master server and that the tests should pass.

Change-Id: I87cec6d0d2b06dda14d0b9d6980bf4f843287ee8