The "Testbed" calls Step
repeatedly, and you're creating instances in each call.
Note that the tutorial does all setup in the FooTest
constructor, so it's only run once.
You've moved the setup from the constructor to the Step
function for some reason.
Just a bit earlier in that tutorial, it says "if you are not doing anything special for rendering or physics control, you don't need to override Step()".