Change the code to give an activity to each track. Change the way to initialize the static fields in EndToEndTestUtils.