Add test for progress callback.