Add API entity adapter tests.