Add deleteAll method, add new unit tests