Add methods for undelivered and delivred items (fix). Updated test for
this case.