Added test for killing unknown task with Slaves in transitional state.

Review: https://reviews.apache.org/r/21249