Fix specs for sqlite backend

While trying to fix the specs for sqlite I found that `self.attributes` returns a hash that uses strings as keys causing the `id` field to not being properly removed. Not sure why this works on mysql but on sqlite It sure doesn't.