preparation for testing