problems with profiler first fix

make a base class and move this method to that class, then extend that base class instead of WebTestCase