issue4647 added more checks on passed uom so the test doesn't work anymore with Mock objects and must indeed patch the method.
issue4647 added more checks on passed uom so the test doesn't work anymore with Mock objects and must indeed patch the method.