add adapter tests