Add test case for cancel, update README.