added test cases for arithmetic operations, str and repr
fixed bugs exposed by those test cases