Bootstrap based hypothesis testing for high-dimensional data