generating tube mock