tests: Test using removed files after promoting shadow master

Test if after promoting shadow master opened removed files work
properly.

Change-Id: I62f1afc27478c3230f53de0948bd22261a2f46ab