Adapting Testing