created a unit test for the bug introduced in version 2.7.2