Add test for cascading job and minor refactor
add missing test file for cascading
Merge pull request #138 from aniket486/add_cascading_test

Add test for cascading job and minor refactor