rename bootstrap in test statistic framework

For issue #1905. Sending the bugfix in another PR.