got final test cases working.
abandoned sum method in favor of simpler test