Adjusted bootstrap for testing.