linked attribute tests: fix logic for add test