This seems like an incorrect use of kettle.tests.bootstrap since this file cannot be run in a self-contained way. This function should simply return the testDefs that it builds, and the individual test files should apply the bootstrap.