fixed test return value