Fix unit test that verifies callback is not fired if stat doesn't match