Tweaking test that uses method arguments in return value