Adding support to deleting records
Fixed model tests