add a quick message fetching utility for tests