adding exit for oneway test