test injecting adapter