TST/CLN: correctly skip in indexes/common; add test for duplicated
Splitting up #21645 

* Added tests for `duplicated`
* Following https://github.com/pandas-dev/pandas/pull/21645#discussion_r202192191, turned several blank `return` statements (which falsely pass the test)  into `pytest.skip`.
