assert correct number of layers remain linked to a non-dependent visualization after deleting a related table