Fix sdb_hash arguments in excess & add tests for deletion ('~')