Adding regression tests for endpoints dispatcher.