add test for checking dispatcher creation when transactions are not enabled