[TASK] Add tests for sumByValue filter - closes #6