[master/f21 v2] Fix int * Size operation and add tests (#1158792)