fixed a bug with adding a method from a new class to the test tree