dispatch methods fully implemented
Adding test for dispatch method