added __notify to test function