Adding the AfterScenario method in the creation of the BeastTestCase
Add method stopPlatform in Connectors.
The new loop ensures that the belief value is not null. It waits until
the value changes to not null.