tests: Test building LizardFS during master change

Build LizardFS multiple times switching from one master to another.

Change-Id: Ib4d79c7179675c38cca7f2ded7e68a442255d554