update unit test for async resourceWatcher check & update javadoc
remove unnecessary method