tests for calculate with correct params and set operation
some fixes + tests for correct result after calculation