test passing of constant expressions to $watch()