test master flow.