Fixes #5901: Implementation of #5448 normal ordering test