Exit with test status