update test bootstrap function