added test cases for mvc dispatch listener