getFactionMessages and test output