Use return codes for testing.