Added unit test for an edge case (currently failing)