Added test for duplicate works