Test to make sure this does the right thing with cancellation?