Jasmine tests for Duplicate and Delete.