Fixed GameplayManager (hopefully) and its tests.