"Add watch point" function

watchpoints dic is supplied by the test code so no need to define by me.