Adding the tests for cancel submission handler.

TNL-900