Added test case for #12726

Change-Id: I396bfa4f255d64dd1729afa1be6771ff35026ad9