General test-preparation strategy