Complete ApiFoundation tests