Sqlite doesn't support foreign key by default
Added deleting tests