Expect an array of promise functions not promises