added test helpers (from ProjectMule commit #59