Add a test for notifyProgress().