messaging: preparing runtime for test