Karma: Delete record instead of resetting it to zero, and make @clear able to delete all records at once.
Karma: Fix tests.