fixed return value for test