Added unit test assertion for #17746