Add test for problem with defdispatch
Fix defdispatch