Add specs for tracked object clearing.