Jasmine test for duplicating.