test dispatch.hpp