pre-test init