tests + adaptor