fixup build api tests