Added a test related to the bug fix