Added unittests for issue 10348