fix error in test stub