fixed tests for deleted_at