Adapter factory tests updated