test: Added additional unit test to variable_watch

This tests adding a variable_watch inside the callback to an existing
callback
2 files changed