Add test for adapthist modes