Added tests to cover asyncdi.requires, see #360