Unit tests for deleting a thread from the rest interface.