fixed return value test script