typo in example fixed
one more test for is_empty