[BUGFIX] fixing method invocation expectation in test