Exit with proper code when tests succeed