Quantities test using gmock