[4o6]improve two tests functions, it works.