added test for a corner case