add deleteAll and more tests. fixes #4