test basic flow for messages