test for additions and subtractions