Fix checkbox stub in tree controller test

Now updates the underlying element's checked and disabled properties.