Test for yielding resources.