refactor of msg route and add bus test