[backend] first dispatch constraint tests and fix for overwrite code