simplify test_adapter

ping @rafaelfranca @matthewd