Added test for ends with zero example.