fix bad method name in test