Removing redundant data Test