added test for watchjs wrapper