add test for the failing case