test_sampler_adapted function

Test that the sampler has successfully adapted