Test for section functions.
Handling of section functions that returns a promise.