add tests for duplicating input classes