Added TestDispatchReposInvalidSession to test_dispatch.py module.