Added sample for issue 18451