fix yermilov/cross-sum/7

+ fix testcases