Tests for coercion between int/num/str.
Implement coercion between int/num/str.