Tests invalid widgets deletion and retrieval