modify a test to ensure we do not get error from watchman side-effect