Added unit test for #3392