#38 added failing karma tests about deleteAll
#39 fixd it