Added AdapterFactoryTest.php