added is_sum test