[backend] refactoring/unittest dispatcher