Added tests for duplicate autofocus attributes