Added simple test for dispatcher