add co promise then style function testing.