Test case clean up.
Extending jUnit test cases for executor testing.