test: add missing tests for AdapterFactory