Fix issue with initialising action in action manager tests.