[#61470186 #61468310] test to prevent buggy behaviour when using autocomplete for adding things to a contract