Improving the Reliability of Bootstrap Tests