prepare for test