test($interpolate): adding tests for watching $interpolate functions

Closes #10119