Added a test for killing an unknown task.

Review: https://reviews.apache.org/r/21179
Minor fix in post-reviews.