add adapter unitTests