fix spec so that method name change is also changed for the test