Updated test and added deletion