Remove unneeded parts in test bootstrap