Integration test for Masterd to build a cluster