|#1122| added few tests for calculation