Added tests for total sum less than zero, more than zero.